Try this:
a[id*='Some:Same'][id$='name']
This will get you all a
elements with id containing
Some:Same
and have the id ending in
name
More Related Contents:
- What does the “>” (greater-than sign) CSS selector mean?
- Is there a CSS selector for elements containing certain text?
- What does the “~” (tilde/squiggle/twiddle) CSS selector mean?
- nth-of-type vs nth-child
- css3 nth of type restricted to class [duplicate]
- ::slotted CSS selector for nested children in shadowDOM slot
- wildcard * in CSS for classes
- nth-child doesn’t respond to class [duplicate]
- CSS Child vs Descendant selectors
- Select elements by attribute in CSS
- Nesting CSS classes
- CSS attribute selectors: The rules on quotes (“, ‘ or none?)
- not:first-child selector
- Is the CSS :not() selector supposed to work with distant descendants?
- What is the difference between ‘>’ and a space in CSS selectors?
- Combining :last-child with :not(.class) selector in CSS
- Why can’t you group descendants in a CSS selector?
- What does + mean in CSS? [duplicate]
- Should I use CSS :disabled pseudo-class or [disabled] attribute selector or is it a matter of opinion?
- Not CSS selectors
- What is this CSS selector? [class*=”span”]
- Is the :before pseudo-element allowed on an input[type=checkbox]?
- CSS select multiple descendants of another element
- Select all ‘tr’ except the first one
- What are the rules around whitespace in attribute selectors?
- CSS – First child without certain class
- CSS select first element with a certain class
- Correct terms and words for sections and parts of selectors
- Why are spaces used to separate things in css
- What is the difference between pseudo-classes and pseudo-elements?