If you’re specifically targetting “11223344”, then use str_replace
:
// str_replace($search, $replace, $subject)
echo str_replace("11223344", "","REGISTER 11223344 here");
More Related Contents:
- How do I check if a string contains a specific word?
- Split a comma-delimited string into an array?
- startsWith() and endsWith() functions in PHP
- PHP – concatenate or directly insert variables in string
- Why does PHP consider 0 to be equal to a string?
- Replacing accented characters php
- How to remove accents and turn letters into “plain” ASCII characters? [duplicate]
- Convert a comma-delimited string into array of integers?
- How to get everything after a certain character?
- Get first 100 characters from string, respecting full words
- PHP remove special character from string
- Iterate over each line in a string in PHP
- Generate SEO friendly URLs (slugs) [closed]
- PHP: How can I explode a string by commas, but not wheres the commas are within quotes?
- How to get int instead string from form?
- Print newline in PHP in single quotes
- PHP: How to sort the characters in a string?
- PHP String Manipulation: Extract hrefs
- How to convert PascalCase to snake_case?
- Get last whole number in a string
- How to strip trailing zeros in PHP
- Include constant in string without concatenating
- Remove Trailing Slash From String PHP
- Measure string size in Bytes in php
- Explode a paragraph into sentences in PHP
- How do I get the byte values of a string in PHP?
- How to remove numbers from a string with RegEx
- How to validate that a string only contain lowercase letters?
- Regex to match an IP address [closed]
- How do I detect non-ASCII characters in a string?