y/A-Za-z/N-ZA-Mn-za-m/;

it is a rot13 script but I don't undestand how it works, what is the y// operator for

It is not really a regex. Go to this page and scroll about two-thirds of the way down.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.