Skip to content
Advertisement

Tag: ruby-on-rails

Regex finding entire line from paragraph

I need to find the actual line from the paragraph, and the paragraph drawing by the markdown editor you can add a checkbox, radio, textbox, and paragraph through the editor. The actual str is something like this, Do all question types have to start with ?[sometext], so I can use this regex radio -> [?] ?[([0-9a-z_].?)]({(?:[^{}]|?)})? ?[?(.?)]? ?[=] ?() ?({[0-9,]+})?([^]?)(nn|^n)

Advertisement