regex - modify regular expression to ignore underscores after question marks -


  (. [^ _] +)  

Correctly matching There is no underscore account, how can I modify this regex when there is no underscore before a question mark?

Meaning

This will only allow underscores after the question mark:

(. [^ _] * (\ ?. *)?)


Comments

Popular posts from this blog

oracle - The fastest way to check if some records in a database table? -

php - multilevel menu with multilevel array -

jQuery UI: Datepicker month format -