Use a regex like this:
Building(\d+)Floor(\d+)
More Related Contents:
- How to cut up a string from an input file with Regex or String Split, C#?
- C# regex replace of numbers and units
- Find and extract a number from a string
- Get string between two strings in a string
- How do I replace the *first instance* of a string in .NET?
- How can I strip HTML tags from a string in ASP.NET?
- How do I replace multiple spaces with a single space in C#?
- Add spaces before Capital Letters
- Detecting *all* emojis
- Matching strings with wildcard
- Remove HTML tags from string including   in C#
- Remove text in-between delimiters in a string (using a regex?)
- Need to perform Wildcard (*,?, etc) search on a string using Regex
- Regex : how to get words from a string (C#)
- Regex nested parentheses
- How to remove empty lines from a formatted string
- How to extract decimal number from string in C#
- Regular expression to find and remove duplicate words
- Get values between curly braces c#
- Replace non-numeric with empty string
- Parsing formatted string
- Splitting a string in C#
- What is the difference between String and string in C#?
- C# string reference type?
- string = string + int: What’s behind the scenes?
- String to Binary in C#
- Regex to match all us phone number formats
- Does String.GetHashCode consider the full string or only part of it?
- Adding a newline into a string in C#
- How can I create all possible combinations for a set of words without repetition?