So is there any set of defined rules that help in the simplification of regular expressions?(adsbygoogle = window.adsbygoogle || []).push({});

Because till now I would simply try and look at the patterns and see whether this or that simplified version would generate the same.Intuitive, but now always fast or correcct.

So is there any general way to go about this...or anyone know any resources I can read up on this?

Thanks.

**Physics Forums | Science Articles, Homework Help, Discussion**

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Simplification of regular expression

**Physics Forums | Science Articles, Homework Help, Discussion**