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

Indexing in SQL -

objective c - iPhone and it's wireless area -

multithreading - Do lock objects in Java need to be static? -