mercredi 24 décembre 2014

Matching new lines not working


I'm trying to match this text in JavaScript:



HEADER
abc1234 blah blah
FOOTER


Using



(?s)HEADER.*?\w{3}\d{4}[\w ]+.*?FOOTER


But it isn't matching.


Any ideas why?





Aucun commentaire:

Enregistrer un commentaire