Get your own PHP server

Regex Modifier: World$

Does the text "Hello World", end with "World"?:

1

This method returns 1 if there is a match, otherwise 0.

The matches were found here:

Hello #

(The match was replaced by a # character)