Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
kb:regex [2015/10/21 09:43] – created yehudakb:regex [2022/01/03 16:03] (current) – external edit 127.0.0.1
Line 2: Line 2:
 #### GET HOSTNAME and URL #### GET HOSTNAME and URL
 ^(https?://www\.([A-Za-z0-9\-]+).+/)$ ^(https?://www\.([A-Za-z0-9\-]+).+/)$
 +
 +
 +### convert '   "xxxx": "Yyyy", ' => xxxx
 +^\s+?"([^"]+)".+$
 +
 +### emails 
 +^[\\w!#$%&’*+/=?`{|}~^-]+(?:\\.[\\w!#$%&’*+/=?`{|}~^-]+)*@(?:[a-zA-Z0-9-]+\\.)+[a-zA-Z]{2,6}$
 </code> </code>
kb/regex.1445420585.txt.gz · Last modified: (external edit)
Back to top
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0