Regex pattern to remove special character

"(\bW?Q)([\D]?)(\d+\b)\b"

will work also on the variation:

And will handle not found Match

For sure it can be adapted and modified if it is needed

Also have a look here:
[HowTo] LINQ (VB.Net) Learning Catalogue - Help / Something Else - UiPath Community Forum